﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Materpage.master" AutoEventWireup="true" CodeFile="DangNhap.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="css/login.css" rel="stylesheet" />
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container">
        <div class="tit">
            <p>Đăng nhập</p>
        </div>
        <div class="signin">
            <p class="tit">Đăng nhập với tài khoản đã đăng kí</p>
            <br />

            <%--<center class="error">--%>
                <asp:Label ID="txtError" runat="server" Text=""></asp:Label>
           <%-- </center>--%>
            <table>
                <tr>
                    <td>
                        <p>Tên đăng nhập</p>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDangNhap" CssClass="txt" runat="server" ValidationGroup="dn"></asp:TextBox><br />
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Nhập tên đăng nhập!" ControlToValidate="txtDangNhap" ValidationGroup="dn" ForeColor="red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <p>Mật khẩu</p>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMatKhau" CssClass="txt" runat="server" TextMode="Password" ValidationGroup="dn"></asp:TextBox></td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Nhập mật khẩu!" ControlToValidate="txtMatKhau" ValidationGroup="dn" ForeColor="red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div class="footerDangNhap">
            <asp:CheckBox ID="CheckBox1" runat="server" />
            <span>Ghi nhớ mật khẩu</span>
            <asp:Button ID="btnDangnhap" runat="server" Text="Đăng Nhập" CssClass="button" ValidationGroup="dn" OnClick="btnDangnhap_Click" />
        </div>
    </div>
</asp:Content>

